package com.itheima.dao.message;

import com.itheima.domain.message.Communication;
import com.itheima.domain.message.CommunicationExample;

import java.util.List;

public interface CommunicationDao {
    int deleteByPrimaryKey(String id);

    int insert(Communication record);

    int insertSelective(Communication record);

    List<Communication> selectByExample(CommunicationExample example);

    Communication selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Communication record);

    int updateByPrimaryKey(Communication record);

    List<Communication> findUnread(String id);
}